package com.ktgj.customer.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 员工对象 employee
 * 
 * @author ruoyi
 * @date 2021-07-27 */
public class EmployeeApi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工信息ID */
    private Long employeeId;

    /** 是否VIP经理。0：不是、1：是 */
    @Excel(name = "是否VIP经理。0：不是、1：是")
    private Long manager;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechat;

    /** 员工简介 */
    @Excel(name = "员工简介")
    private String personalintroduction;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long opEmployeeId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createtime;

    /** 员工手机号码 */
    @Excel(name = "员工手机号码")
    private String employeeMobile;

    /** 职位ID */
    @Excel(name = "职位ID")
    private Long positionId;

    /** 员工头像 */
    @Excel(name = "员工头像")
    private String avatarUrl;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 工号 */
    @Excel(name = "工号")
    private String employeeLoginId;

    /** 密码 */
    @Excel(name = "密码")
    private String employeeLoginPwd;

    /** 姓名 */
    @Excel(name = "姓名")
    private String employeeName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String employeeIdno;

    /** 性别 */
    @Excel(name = "性别")
    private Long employeeSex;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date employeeBirthday;

    /** 原籍 */
    @Excel(name = "原籍")
    private String employeeBirthcity;

    /** 状态 1：在职；2：离职 */
    @Excel(name = "状态 1：在职；2：离职")
    private Long employeeStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String employeeMemo;

    /** 是否管理员 */
    @Excel(name = "是否管理员")
    private Long isAdmin;

    /** 密码过期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "密码过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changeTime;

    /** 是否开启，1：开启，0：关闭 */
    @Excel(name = "是否开启，1：开启，0：关闭")
    private Long isused;

    /** 微信二维码 */
    @Excel(name = "微信二维码")
    private String wechatimg;

    /** 级别 */
    @Excel(name = "级别")
    private Long resourcelevel;

    /** 最大上限 */
    @Excel(name = "最大上限")
    private Long resourcemaxlimitnum;

    /** 昵称 */
    @Excel(name = "昵称")
    private String othername;

    /** token */
    @Excel(name = "token")
    private String token;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setEmployeeId(Long employeeId)
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setManager(Long manager) 
    {
        this.manager = manager;
    }

    public Long getManager() 
    {
        return manager;
    }
    public void setWechat(String wechat) 
    {
        this.wechat = wechat;
    }

    public String getWechat() 
    {
        return wechat;
    }
    public void setPersonalintroduction(String personalintroduction) 
    {
        this.personalintroduction = personalintroduction;
    }

    public String getPersonalintroduction() 
    {
        return personalintroduction;
    }
    public void setOpEmployeeId(Long opEmployeeId) 
    {
        this.opEmployeeId = opEmployeeId;
    }

    public Long getOpEmployeeId() 
    {
        return opEmployeeId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public void setEmployeeMobile(String employeeMobile)
    {
        this.employeeMobile = employeeMobile;
    }

    public String getEmployeeMobile() 
    {
        return employeeMobile;
    }
    public void setPositionId(Long positionId) 
    {
        this.positionId = positionId;
    }

    public Long getPositionId() 
    {
        return positionId;
    }
    public void setAvatarUrl(String avatarUrl) 
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl() 
    {
        return avatarUrl;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setEmployeeLoginId(String employeeLoginId) 
    {
        this.employeeLoginId = employeeLoginId;
    }

    public String getEmployeeLoginId() 
    {
        return employeeLoginId;
    }
    public void setEmployeeLoginPwd(String employeeLoginPwd) 
    {
        this.employeeLoginPwd = employeeLoginPwd;
    }

    public String getEmployeeLoginPwd() 
    {
        return employeeLoginPwd;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setEmployeeIdno(String employeeIdno) 
    {
        this.employeeIdno = employeeIdno;
    }

    public String getEmployeeIdno() 
    {
        return employeeIdno;
    }
    public void setEmployeeSex(Long employeeSex) 
    {
        this.employeeSex = employeeSex;
    }

    public Long getEmployeeSex() 
    {
        return employeeSex;
    }
    public void setEmployeeBirthday(Date employeeBirthday) 
    {
        this.employeeBirthday = employeeBirthday;
    }

    public Date getEmployeeBirthday() 
    {
        return employeeBirthday;
    }
    public void setEmployeeBirthcity(String employeeBirthcity) 
    {
        this.employeeBirthcity = employeeBirthcity;
    }

    public String getEmployeeBirthcity() 
    {
        return employeeBirthcity;
    }
    public void setEmployeeStatus(Long employeeStatus) 
    {
        this.employeeStatus = employeeStatus;
    }

    public Long getEmployeeStatus() 
    {
        return employeeStatus;
    }
    public void setEmployeeMemo(String employeeMemo) 
    {
        this.employeeMemo = employeeMemo;
    }

    public String getEmployeeMemo() 
    {
        return employeeMemo;
    }
    public void setIsAdmin(Long isAdmin) 
    {
        this.isAdmin = isAdmin;
    }

    public Long getIsAdmin() 
    {
        return isAdmin;
    }
    public void setChangeTime(Date changeTime) 
    {
        this.changeTime = changeTime;
    }

    public Date getChangeTime() 
    {
        return changeTime;
    }
    public void setIsused(Long isused) 
    {
        this.isused = isused;
    }

    public Long getIsused() 
    {
        return isused;
    }
    public void setWechatimg(String wechatimg) 
    {
        this.wechatimg = wechatimg;
    }

    public String getWechatimg() 
    {
        return wechatimg;
    }
    public void setResourcelevel(Long resourcelevel) 
    {
        this.resourcelevel = resourcelevel;
    }

    public Long getResourcelevel() 
    {
        return resourcelevel;
    }
    public void setResourcemaxlimitnum(Long resourcemaxlimitnum) 
    {
        this.resourcemaxlimitnum = resourcemaxlimitnum;
    }

    public Long getResourcemaxlimitnum() 
    {
        return resourcemaxlimitnum;
    }
    public void setOthername(String othername) 
    {
        this.othername = othername;
    }

    public String getOthername() 
    {
        return othername;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("employeeId", getEmployeeId())
            .append("manager", getManager())
            .append("wechat", getWechat())
            .append("personalintroduction", getPersonalintroduction())
            .append("opEmployeeId", getOpEmployeeId())
            .append("createtime", getCreatetime())
            .append("employeeMobile", getEmployeeMobile())
            .append("positionId", getPositionId())
            .append("avatarUrl", getAvatarUrl())
            .append("deptId", getDeptId())
            .append("employeeLoginId", getEmployeeLoginId())
            .append("employeeLoginPwd", getEmployeeLoginPwd())
            .append("employeeName", getEmployeeName())
            .append("employeeIdno", getEmployeeIdno())
            .append("employeeSex", getEmployeeSex())
            .append("employeeBirthday", getEmployeeBirthday())
            .append("employeeBirthcity", getEmployeeBirthcity())
            .append("employeeStatus", getEmployeeStatus())
            .append("employeeMemo", getEmployeeMemo())
            .append("isAdmin", getIsAdmin())
            .append("changeTime", getChangeTime())
            .append("isused", getIsused())
            .append("wechatimg", getWechatimg())
            .append("resourcelevel", getResourcelevel())
            .append("resourcemaxlimitnum", getResourcemaxlimitnum())
            .append("othername", getOthername())
            .toString();
    }
}
